package com.weiyuwqj.api.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *
 * @className:SysAssetPicture
 * @Description: 资产方产品图片
 * @author cx
 * @date:2017年3月24日下午6:38:49
 *
 */
@Table(name = "sys_asset_picture")
public class SysAssetPicture implements Serializable {

	private static final long serialVersionUID = -8256306517809776553L;

	@Id
	private Integer id;

	/**
	 * 产品id
	 */
	@Column(name = "product_id")
	private Integer productId;

	/**
	 * 图片类型 1个人资料 2车辆图片 3相关手续
	 */
	@Column(name = "type")
	private Integer type;

	/**
	 * 图片路径
	 */
	@Column(name = "url")
	private String url;

	/**
	 * 更新后图片路径
	 */
	@Column(name = "update_url")
	private String updateUrl;
	/**
	 * 创建者
	 */
	@Column(name = "creator")
	private Integer creator;

	/**
	 * 创建ip
	 */
	@Column(name = "addip")
	private String addip;

	/**
	 * 创建时间
	 */
	@Column(name = "addtime")
	private Date addtime;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getProductId() {
		return productId;
	}

	public void setProductId(Integer productId) {
		this.productId = productId;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getUpdateUrl() {
		return updateUrl;
	}

	public void setUpdateUrl(String updateUrl) {
		this.updateUrl = updateUrl;
	}

	public Integer getCreator() {
		return creator;
	}

	public void setCreator(Integer creator) {
		this.creator = creator;
	}

	public String getAddip() {
		return addip;
	}

	public void setAddip(String addip) {
		this.addip = addip;
	}

	public Date getAddtime() {
		return addtime;
	}

	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

}
